checkList(Char[],String[]) Method
In This Topic
Checks if the parameters which names do not start with any of the prefixes in 'prfxs' in this ParameterList are all in the list of valid parameter names 'plist'. If there is a parameter that is not in 'plist' an IllegalArgumentException is thrown with an explanation message. The default parameters are also included in the check.
Syntax
'Declaration
Public Overloads Overridable Sub checkList( _
ByVal () As Char, _
ByVal () As String _
)
public virtual void checkList(
char[] ,
string[]
)
Parameters
- prfxs
- The prefixes of parameters to ignore.
- plist
- The list of valid parameter names. If null it is considered that no names are valid.
Exceptions
Exception | Description |
IllegalArgumentException | If there's a parameter name not
starting with 'prfx' which is not in the valid list of parameter names.
|
See Also